home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 090 / ram.arc / RAM.DOC next >
Text File  |  1985-02-05  |  1KB  |  32 lines

  1. This ramdisk starts out with no memory. To allocate memory for it use:
  2.     setram drive kbytes
  3. where drive is the drive letter and kbytes is the number of kbytes to alloc.
  4. Memory can only be allocated when there is currently no memory allocated
  5. to the ramdisk.
  6. example, if the ramdisk is drive e and a 68k ramdisk is desired
  7.     setram e 68
  8.  
  9. To deallocate the memory that was allocated for the ramdisk, use:
  10.     setram drive
  11. where drive is the drive letter.
  12. example, if the ramdisk is drive e
  13.     setram e
  14.  
  15. This ramdisk allows up to 32 directory entries in the root directory.
  16. To use it, there must be a line in the config.sys file
  17.     device=ram.sys
  18. and if an initial ramdisk is desired, the line
  19.     setram drive kbytes
  20. can be put in the autoexec.bat file.
  21.  
  22. Don't allocate memory if there is currently in memory a program that will
  23. terminate and free up its memory, as the setram memory will be allocated after
  24. this program and memory will become segmented. Also, don't run a
  25. terminate-and-stay-resident program when memory is allocated for the ramdisk
  26. because when the ramdisk memory is deallocated memory will be segmented.
  27. If memory is deallocated in a .bat file, then memory will be segmented until
  28. the .bat file terminates, so don't do anything in that bat file after
  29. a deallocation if this segmentation could cause a problem (such as
  30. reallocating memory with setram or running a terminate and stay resident
  31. program).
  32.